#ifndef SQLITE_H
#define SQLITE_H

#include <QDialog>
#include "sqldatabase.h"
#include <QTableWidgetItem>

namespace Ui {
class sqlite;
}

class sqlite : public QDialog
{
    Q_OBJECT

public:
    explicit sqlite(QWidget *parent = nullptr);
    ~sqlite();

    void UpData(QSqlQuery *pQuery);
private slots:
    void on_pushButton_2_clicked();

    void on_pushButton_4_clicked();

    void on_pushButton_5_clicked();

    void on_pushButton_6_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_clicked();

private:
    Ui::sqlite *ui;
    sqliteDatabase sql;
};

#endif // SQLITE_H
